package com.atguigu.lease.web.admin.service.impl;

import com.atguigu.lease.web.admin.vo.user.UserInfoQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.atguigu.lease.model.entity.UserInfo;
import com.atguigu.lease.web.admin.service.UserInfoService;
import com.atguigu.lease.web.admin.mapper.UserInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Lenovo
 * @description 针对表【user_info(用户信息表)】的数据库操作Service实现
 * @createDate 2024-06-18 14:38:03
 */
@Service
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo>
        implements UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public IPage<UserInfo> pageUserInfo(IPage<UserInfo> iPage, UserInfoQueryVo queryVo) {
        return userInfoMapper.pageUserInfo(iPage,queryVo);
    }
}




